﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BLSingTowerMall;
using DTOSingTowerMall;

namespace FacadeSingTowerMall
{
    public class PromotionFacade
    {
        PromotionProcess objPromoDetails = new PromotionProcess();
        public IQueryable<ICampaign> getCurrentPromoDetails()
        {

            PromotionProcess objPromoDetails = new PromotionProcess();
            IQueryable<ICampaign> currentPromos = objPromoDetails.getPromoDetails();

            return currentPromos;
        }

        public IEnumerable<ICampaign> getPromos()
        {
            PromotionProcess objPromoDetails = new PromotionProcess();

            return objPromoDetails.getPromos();
        }

        public IQueryable<ICampaign> getPromotsData(int campaignId)
        {
            return objPromoDetails.getPromotsData(campaignId);
        }

        public void getPromotsApproval()
        {
            objPromoDetails.getApproval();
        }

    }
}
